package com.markerhub.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.markerhub.entity.BuyNum;
import com.markerhub.entity.GoodsInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author jsx on 2023/2/13
 **/
@Repository
public interface GoodsInfoMapper extends BaseMapper<GoodsInfo> {

    List<BuyNum> selectTenBuyNum();

   int  updateByInfoList(@Param("idList") String[] idList);
}
